package com.quectel.sdk.zlm.basemodel;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * 在这里编写说明
 *
 * @author: rananxin
 * @email: ryan.ran@quectel.com
 * @date: 2023-01-06 13:24:00
 */
public class ZLMediaKitBaseResp implements Serializable {
    // 执行成功
    protected static final int SUCCESS_CODE = 0;
    // 业务代码执行失败
    protected static final int OTHER_FAILED = -1;
    // 鉴权失败
    protected static final int AUTH_FAILED = -100;
    // sql执行失败
    protected static final int SQL_FAILED = -200;
    // 参数不合法
    protected static final int INVALID_ARGS = -300;
    // 代码抛异常
    protected static final int EXCEPTION = -400;

    @Getter
    @Setter
    protected int code;
}
